package com.music.dao;

import com.music.entity.UserFocus;
import org.springframework.stereotype.Repository;

@Repository
public interface UserFocusMapper {
    /**
     * 关注人数
     * @param userId
     * @return
     */
    int focusNum(String userId);

    /**
     * 粉丝人数
     * @param userId
     * @return
     */
    int fansNum(String userId);

    int panDuanFocus(String u1,String u2);
    int insert(UserFocus userFocus);
    int delete(String u1,String u2);
}
